package org.easy.sensitiveword;

import com.github.houbb.sensitive.word.core.SensitiveWordHelper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class SensitiveWordAutoConfiguration {

    @Bean
    public SensitiveWordTemplate sensitiveWordTemplate() {
        return new SensitiveWordTemplate();
    }

    public static void main(String[] args) {
        System.out.println(SensitiveWordHelper.findAll("哪里来的法轮功"));
    }

}
